﻿using System;
using System.Collections.Generic;

using System.Text;

namespace AuroraLightsFX
{
    public class Leds : List<Led>
    {
        // Properties
        public Led this[string name]
        {
            get
            {
                foreach (Led led in this)
                {
                    if (led.Name.ToLower() == name.ToLower())
                    {
                        return led;
                    }
                }
                return null;
            }
        }
    }


}
